package es.agroservicio.Agroservicio.repository;

import java.util.List;

import es.agroservicio.Agroservicio.domain.Product;


public interface ProductDAO
{
    public Product findById(String id);

    public List<Product> findAllOrderedByName();

    public void register(Product product);
    
    public void saveOrUpdate(Product product);
    
    public void deleteProduct(Product product);
}



